package com.project.service.impl;

import com.project.service.IUserService;
import org.springframework.stereotype.Service;

@Service   //声明组件类是业务组件类
public class UserServiceImpl implements IUserService {
    @Override
    public void add() {
        System.out.println("添加");
//        int i=9/0;
    }
}
